package com.staryy.activiti7_workflow.mapper;

import com.staryy.activiti7_workflow.pojo.UserInfoBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface UserInfoBeanMapper {

    @Select("select * from user where username = #{userName}")
    UserInfoBean selectByUserName(@Param("userName") String userName);
}
